<template>
    <div class="son13">
        <h3>SonDemo13</h3>
        <div>
            <template v-if="props.isZhengdao === 1">白日依山尽</template>
            <template v-if="props.isZhengdao === 2">黄河入海流</template>
            <template v-if="props.isZhengdao === 3">欲穷千里目</template>
            <template v-if="props.isZhengdao === 4">更上一层楼</template>
        </div>
        <slot></slot>
    </div>
</template>

<script setup lang='ts'>

// 接收isZhengdao
const props = defineProps<{
    isZhengdao: number
}>()



</script>

<style lang="scss" scoped>
.son13 {
    border: 3px solid deeppink;
    padding: 10px;
    margin: 10px;
}
</style>